﻿using System;

namespace PlugNT.Cms.Model
{
    [Serializable]
    public class CommentInfo
    {
        private int _id;
        private string _username;
        private string _ip;
        private bool _locked;
        private string _title;
        private string _content;
        private DateTime _addtime;
        private int _articleid = 0;
        private string _address;
        private int _tip = 0;
        private int _layer = 1;

        public CommentInfo() { }
        /// <summary>
        /// id
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// username
        /// </summary>
        public string username
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// ip
        /// </summary>
        public string ip
        {
            set { _ip = value; }
            get { return _ip; }
        }
        /// <summary>
        /// locked
        /// </summary>
        public bool locked
        {
            set { _locked = value; }
            get { return _locked; }
        }
        /// <summary>
        /// title
        /// </summary>
        public string title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// content
        /// </summary>
        public string content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// addtime
        /// </summary>
        public DateTime addtime
        {
            set { _addtime = value; }
            get { return _addtime; }
        }
        /// <summary>
        /// articleid
        /// </summary>
        public int articleid
        {
            set { _articleid = value; }
            get { return _articleid; }
        }
        /// <summary>
        /// address
        /// </summary>
        public string address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// tip
        /// </summary>
        public int tip
        {
            set { _tip = value; }
            get { return _tip; }
        }
        /// <summary>
        /// layer
        /// </summary>
        public int layer
        {
            set { _layer = value; }
            get { return _layer; }
        }
    }
}
